package com.example.esdemo.service;

import com.example.esdemo.entity.Book;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.esdemo.entity.ESBook;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2023-04-12
 */
public interface BookService extends IService<Book> {
    void add2ES(List<Book> books);

    List<ESBook> findAll(String keyword);
}
